package com.glink.manage.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author qiushaoshan
 * @date 2024-06-22
 * @description 重置密码DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRestPwdDTO {
    @ApiModelProperty(value = "目标用户id列表", required = true)
    @NotEmpty(message = "用户ID不能为空")
    private List<String> userIdList;
    
    @ApiModelProperty(value = "确认密码", required = true)
    @NotBlank(message = "确认密码不能为空")
    @Size(max = 256, message = "确认密码不能超过256个字符")
    private String password;
}
